package temp;

import Java比较器.Goods;
import 泛型.Person;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.*;

public class Temp {
    public static void main(String[] args) throws IOException {
//        String s1 = "abc";
//        String s2 = "abc";
//        System.out.println(s1 == s2);
//
//        String s3 = new String("abc");
//        String s4 = new String("abc");
//        System.out.println(s3 == s4);
//
//        DateTimeFormatter sdf=DateTimeFormatter.ofPattern("yyyy年MM月dd日 HH时mm分ss秒");
//
//        System.out.println(LocalDateTime.now().format(sdf));
//
//        System.out.println(UUID.randomUUID());
        FileInputStream fileInputStream = new FileInputStream(new File("D://file"));
        System.out.println(fileInputStream.getChannel().size());




    }
}
